package com.sheliduan.itlearning.common.model.vos;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

/**
 * @author: 断舍离
 * @date: 2025/1/22 10:52
 * @description: 登录注册通用的入参VO类
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class LoginRegisterReqVO {
    @NotBlank(message = "用户名不能为空")
    private String username;

    @NotBlank(message = "密码不能为空")
    private String password;

    @NotBlank(message = "请选择角色")
    private String role;
}
